package com.heima.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author AkiRinko
 * @since 2024-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbVendingMachineDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "售货机类型")
    private Integer vmType;

    @ApiModelProperty(value = "售货机软编号")
    private String innerCode;

    @ApiModelProperty(value = "点位Id")
    private Long nodeId;

    @ApiModelProperty(value = "售货机状态，0:未投放;1-运营;3-撤机")
    private Integer vmStatus;

    @ApiModelProperty(value = "上次补货时间")
    private LocalDateTime lastSupplyTime;

    @ApiModelProperty(value = "所在城市ID")
    private String cityCode;

    @ApiModelProperty(value = "区域id")
    private Integer areaId;

    @ApiModelProperty(value = "创建人id")
    private Long createUserId;

    @ApiModelProperty(value = "创建人姓名")
    private String createUserName;

    @ApiModelProperty(value = "商圈Id")
    private Integer businessId;

    @ApiModelProperty(value = "所属区域Id")
    private Long regionId;

    @ApiModelProperty(value = "点位主Id")
    private Integer ownerId;

    @ApiModelProperty(value = "所属合作商名称")
    private String ownerName;

    @ApiModelProperty(value = "客户端连接Id,做emq认证用")
    private String clientId;

    @ApiModelProperty(value = "经度")
    private Double longitudes;

    @ApiModelProperty(value = "维度")
    private Double latitude;


}
